WeDevs\ERP\API\REST_Controller S

Total Complexity 47
Dependencies 2
Dependents 0
Total lines 369
Lines of code 210
Logical lines of code 94
Comment lines 99
Methods 11
Properties 2

Methods 11

Method Rating Maintainability Complexity Lines of code
get_endpoint_args_for_item_schema()
A
46 13 38
format_collection_response()
S
51 7 25
prepare_links()
S
50 6 31
get_context_param()
S
53 5 23
prepare_response_for_collection()
S
58 4 16
get_public_item_schema()
S
62 4 12
get_user()
S
53 2 23
get_object_type()
S
68 3 7
get_collection_params()
S
52 1 28
get_item_schema()
S
82 1 3
add_links()
S
75 1 4